package cn.edu.mju.property.service;

import cn.edu.mju.property.entity.Notice;
import cn.edu.mju.property.entity.PageBean;
import cn.edu.mju.property.entity.Repair;

import java.util.List;

public interface NoticeService {

    /*添加公告数据*/
    public boolean addNotice(Notice notice);

    /*删除公告数据*/
    public boolean delNotice();

    /*修改公告数据*/
    public boolean updateNotice(Notice notice);

    /*获取分页数据*/
    PageBean<Notice> findNoticeByPage(String currentPage, String rows);


    /*获取总记录数*/
    public int findTotalCount();

}
